package com.ruoyi.xiaoshou.service.impl;

import com.ruoyi.xiaoshou.domain.StockOutDetail;
import com.ruoyi.xiaoshou.mapper.StockOutDetailMapper;
import com.ruoyi.xiaoshou.service.IStockOutDetailService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collections;
import java.util.List;

/**
 * @author 罗梦杰
 * date 2024/10/25 19:50
 * @version 1.0
 */
@Service
@Slf4j
@Transactional
public class StockOutDetailServiceImpl implements IStockOutDetailService {
    @Autowired
    private StockOutDetailMapper stockOutDetailMapper;
    @Override
    public List<StockOutDetail> getStockOutDetailList(StockOutDetail stockOutDetail) {
        log.info("StockOutDetailServiceImpl getStockOutDetailList params:{}",stockOutDetail);
        List<StockOutDetail> stockOutDetailList = stockOutDetailMapper.getStockOutDetailList(stockOutDetail);
        return stockOutDetailList;
    }
}
